feudal_governments = {

	theocratic_feudal_governmenttwo = {
		preferred_holdings = { CASTLE TEMPLE }
		allowed_holdings = { 
			CASTLE 
			TEMPLE
			FORT
			HOSPITAL
		}
		allowed_holdings_culture = { # Will not get the wrong government type penalty for tribes of the same culture
			TRIBAL
		}
		accepts_liege_governments = { # Gets the wrong religion modifier instead
			muslim_government
			theocracy_government
			feudal_government
			chinese_imperial_government
		}
		free_revoke_on_governments_religion = { # Tribal vassals of other religions can have their titles revoked for free
			tribal_government
		}
		frame_suffix = "_theocraticfeudal"

		potential = {
			clan = no
			is_nomadic = no
			is_patrician = no
			NOT = {
				government = order_government
			}
			OR = {
				AND = {
						controls_religion = yes
						religion_group = pagan
						has_religion_feature = religion_temporal_head
						any_demesne_title = {
							has_title_flag = monasticfeudaltitle
						}
				}
				
				AND = {
						religion_group = pagan
						OR = {
							is_feudal = yes
							is_theocracy = yes
						}
						top_liege = {
							government = theocratic_feudal_governmenttwo
						}
				
				}
			}				
		}
		
		color = { 207 145 90 }
		
		uses_piety_for_law_change = yes
		dukes_called_kings = yes
		barons_need_dynasty = yes

		can_build_tribal = no
		
		ignore_in_vassal_limit_calculation = {
			tribal_government
		}
		capital_move_delay = 600
		## Modifiers
		court_size_modifier = 10
	}
}